﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Quality_Calculator.Skills.Generics
{
    class MastersMend : SkillBase
    {
        public MastersMend()
        {
            CpCost = 92;
            Name = "Master's Mend";
            Icon = global::Quality_Calculator.Properties.Resources.Master_s_Mend;
        }
        public override void SpellEffect(Synthesis synth)
        {
            synth.DurabilityCurrent += 30;
            if (synth.DurabilityCurrent > synth.DurabilityMax) synth.DurabilityCurrent = synth.DurabilityMax;
        }
    }
    class MastersMend2 : SkillBase
    {
        public MastersMend2()
        {
            CpCost = 160;
            Name = "Master's Mend II";
            Icon = global::Quality_Calculator.Properties.Resources.Master_s_Mend;
        }
        public override void SpellEffect(Synthesis synth)
        {
            synth.DurabilityCurrent += 60;
            if (synth.DurabilityCurrent > synth.DurabilityMax) synth.DurabilityCurrent = synth.DurabilityMax;
        }
    }
}
